package com.itheima.service;

import com.itheima.pojo.Member;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

public interface MemberService {
    Member findByTelephone(String telephone);

    void add(Member member);

    Map getMemberReport(Map maps) throws Exception;

    List<Map<String,Object>> findMemberAgeCount();
}
